import http from '@/utils/http';
import request from '@/utils/request';

export async function upload(body) {
  return http.uploadFile('/file/vditor/upload', body);
}